//
//  UIView+rotateLayerAnimation.h
//  stokeEndStudy
//
//  Created by 王若聪 on 2017/3/10.
//  Copyright © 2017年 PwC. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (rotateLayerAnimation)
/**
 initial method
 the following three params cannot be nil
 
 @param width      width of the animation layer
 @param inset      inset of target UIView bounds
 @param layerColor color of the animation layer
 */
- (void)performLayerAnimationWithLayerWidth:(CGFloat)width inset:(CGFloat)inset color:(UIColor*)layerColor;
/**
 use this method to remove animation layer
 */
- (void)removeAnimationLayer;
/**
 use this method to remove animation layer
 */
- (void)stopAnimation;

@end
